package com.powermanager.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.widget.ImageView;

import com.powermanager.R;
import com.powermanager.adapter.EletricAnalyseAdapter;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by lqy on 16/7/7.
 */
public class EletricAnalyseActivity extends BaseActivity {
    @Bind(R.id.main_iv_setting)
    ImageView mainIvSetting;
    @Bind(R.id.mRvDisplay)
    RecyclerView mRvDisplay;
    EletricAnalyseAdapter adapter;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_eletricanalyse);
        ButterKnife.bind(this);
        adapter = new EletricAnalyseAdapter(this);
        mRvDisplay.setLayoutManager(new LinearLayoutManager(this));
        mRvDisplay.setAdapter(adapter);
    }

    @OnClick(R.id.mRvDisplay)
    public void onClick() {
    }
}
